var RoleUpdatePage = {
	'updateRoleSucc':function(data, status, xhr) {
		MsgBox.info(data.message, null, function() {
			var mWindow = MsgBox.getCurrentOpenDialogWindow();
			mWindow.roleDatatable.refresh();
			MsgBox.closeActiveDialog();
		});
	},
	'updateRole':function() {
		var roleId = $("input[name='roleId']").val();
		updateRoleAjax.tempUrl(function(url) {
			return url + roleId;
		});
		updateRoleAjax.send();
	},
	'onFindOneSucc':function(data, status, xhr) {
		$("#roleUpdateFrm").autofill(data.info);
	}
	
};